﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ChinaSoft.BLL.Common
{
    public class PowerValidate
    {
        /// <summary>
        /// 根据传入的用户名和权限的ID来验证当前用户是否有权限
        /// 作者:demo
        /// 时间：2012-3-27
        /// </summary>
        /// <param name="UserAccount">用户名</param>
        /// <param name="PowerId">权限ID</param>
        /// <returns></returns>
        public static bool ValidatePower(string UserAccount, int PowerId)
        {
            return ChinaSoft.DAL.Common.PowerValidate.ValidatePower(UserAccount, PowerId);
        }
    }
}
